﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace FourKill.Engine
{
    public class CloudObject : BaseGameObject
    {
        public CloudObject()
        {
            int ci = _rand.Next(0, 20);
            this.Color = System.Drawing.Color.FromArgb(_rand.Next(150, 254), 255 - ci, 255 - ci, 255 - ci);
        }

        public override void Tick()
        {
            if (Speed > 0) this.Move(Speed);
        }

        public Cloud Cloud
        {
            get { return Cloud.Instance; }
        }

        public override IPaintable Painter
        {
            get
            {
                return Cloud;
            }
        }
    }
}
